<?php

namespace app\common\model;

use think\Model;

class Message extends Model
{


    public function add_message($content,$uid)
    {
        $data['title']=$content;
        $data['content']=$content;
        $data['uid']=$uid;
        $data['create_time']=time();
        model("Message")->insert($data);
    }


}
